/**
 * 
 */
package com.oppo.dao;

import com.oppo.bean.UserBean;
import com.oppo.db.BasicDataOperation;
import com.oppo.tools.MyTools;

/**
 * @author 天下有雪
 *
 */
public class ImproveDataDao {
	public int InsertData(UserBean one, String user_id) {
		String sql = "UPDATE user_t SET user_img=?, user_name=?, user_psw=? WHERE user_id=" + user_id;
		int i = MyTools.getNewInstance(BasicDataOperation.class).updateData(sql, one.getUser_img(),one.getUser_name(),one.getUser_psw());
		return i;
	}
}
